﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BCGPSRESTful.WebApiConfig;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.SwaggerGen;

namespace BCGPSRESTful.Controllers
{
    /// <summary>
    /// 
    /// </summary>
    [Route("api/[controller]")]
    [ApiController]
    [WebApiExceptionFilter]
    [RequireModelValidateAttribute]
    [SwaggerResponse(400, Type = typeof(ErrorMessageDto), Description = "请求参数或输入的数据不正确。")]
    [SwaggerResponse(500, Type = typeof(ErrorMessageDto), Description = "服务器发生错误。")]
    [SwaggerResponse(501, Description = "某些功能尚未实现。")]
    public class BCGPSRestfulApiController : Controller
    {
    }
}